zoukankan      html  css  js  c++  java
  • 五指MUD协议

    //MUD转义协议
    #ifndef __WZMUD__
    #define __WZMUD__

    #define WZKEY "ZWUxMTIyMDAwMw=="
    #define ESA ""
    #define WZSEP "$sp#"
    #define WZSP2 "$sp2#"
    #define WZBR "$br#"
    #define WZURL(w) ESA + "[u:" + w + "]"
    #define WZSIZE(n) ESA + "[s:" + n + "]"

    #define SYSY ESA + "000"
    #define INPUTTXT(a,b) ESA + "001" + a + WZSEP + b
    #define WZTITLE ESA + "002"
    #define WZEXIT ESA + "003"
    #define WZEXITRM ESA + "903"
    #define WZEXITCL ESA + "913"
    #define WZLONG ESA + "004"
    #define WZOBIN ESA + "005"
    #define WZOBOUT ESA + "905"
    #define WZBTSET ESA + "006"
    #define WZOBLONG ESA + "007"
    #define WZOBACTS ESA + "008"
    #define WZOBACTS2 ESA + "009"
    #define WZOBACTS3 ESA + "091"//弹出框右边的文字框
    #define WZYESNO ESA + "010"
    #define WZMAPTXT ESA + "011"
    #define WZHPTXT ESA + "012"
    #define WZMORETXT ESA + "013"
    #define WZFORCECMD(c) ESA + "014" + c + " "
    #define WZTMPSAY ESA + "015"
    #define WZPOPMENU ESA + "020"
    //客户端右边浮动按钮
    #define WZRFBUT ESA + "021"
    //用户定义区按钮
    #define WZUBTSET ESA + "022"
    #define WZMENUF(r,w,h,s) "$"+r+","+w+","+h+","+s+"#"

    #define WZCHANNEL ESA + "100"
    #define WZATTR ESA + "051"
    #define WZOPFGTBOX ESA + "061" //打开全屏战斗界面
    #define WZCLFGTBOX ESA + "062" //关闭全屏战斗界面
    #define SYSEXIT ESA + "999"
    #define EC " " //结束符


    #endif

    #define WZURL(w)    ESA + "[u:" + w + "]" 末尾必须跟 NOR
  • 相关阅读:
    c++ 左值和右值
    C++的顶层const和底层const的理解
    TCP/IP模型中的网络层
    有关TCP/IP模型中的网络接入层
    计算机网络协议与IPv4地址
    浅析计算机网络
    海思Android开发平台如何自定义update.zip内容
    Android平台RTL蓝牙适配偶现打不开问题调试笔记
    Android的SoundPool
    Android开发之IntentService
  • 原文地址:https://www.cnblogs.com/cfas/p/8232647.html
Copyright © 2011-2022 走看看