net_uoam Class Reference

file : ../lua/net/net.uoam.lua (this is just a pseudo class used for grouping global functions) More...

List of all members.

Static Public Member Functions

static mixed UOAM_Start (mixed name, mixed pass, mixed server, mixed port)
static mixed UOAM_RecvData (mixed fifo)
static mixed UOAM_RecvData_OnePacket (mixed fifo, mixed len)
static mixed GetSkipLen (mixed x)
static mixed TestSkipLen (mixed namelen, mixed skip)
static mixed IsAscii (mixed c)
static mixed UOAM_SendPosUpdate (mixed...)
static mixed UOAM_SendChat (mixed text)
static mixed UOAM_Short2ByteArray (mixed value)
 todo : fifo misuse for endian conversion is suboptimal, but was quick to implement correctly
static mixed UOAM_Long2ByteArray (mixed value)
 todo : fifo misuse for endian conversion is suboptimal, but was quick to implement correctly
static mixed UOAM_PushHandshake (mixed fifo)
static mixed UOAM_PushPosUpdate (mixed fifo, mixed uname, mixed upass, mixed i22, mixed facet, mixed x, mixed y)
 handles sequence increment automatically
static mixed UOAM_PushChatPoll (mixed fifo, mixed uname, mixed upass)
static mixed UOAM_PushChatInit (mixed fifo, mixed uname, mixed upass)
 font and color or so for chat...
static mixed UOAM_PushChat (mixed fifo, mixed uname, mixed upass, mixed text)
static mixed UOAM_ArrayStartsWith (mixed arr1, mixed arr2, mixed arr2first)
static mixed MyChunk (mixed name, mixed bytes)


Detailed Description

file : ../lua/net/net.uoam.lua (this is just a pseudo class used for grouping global functions)

Definition at line 1289 of file lua_pseudo_code.cpp.


Member Function Documentation

static mixed net_uoam::UOAM_Start ( mixed  name,
mixed  pass,
mixed  server,
mixed  port 
) [inline, static]

Definition at line 1291 of file lua_pseudo_code.cpp.

static mixed net_uoam::UOAM_RecvData ( mixed  fifo  )  [inline, static]

Definition at line 1293 of file lua_pseudo_code.cpp.

static mixed net_uoam::UOAM_RecvData_OnePacket ( mixed  fifo,
mixed  len 
) [inline, static]

Definition at line 1295 of file lua_pseudo_code.cpp.

static mixed net_uoam::GetSkipLen ( mixed  x  )  [inline, static]

Definition at line 1297 of file lua_pseudo_code.cpp.

static mixed net_uoam::TestSkipLen ( mixed  namelen,
mixed  skip 
) [inline, static]

Definition at line 1299 of file lua_pseudo_code.cpp.

static mixed net_uoam::IsAscii ( mixed  c  )  [inline, static]

weird shit, this took a while to find out... also needed during sending ~ local padlength = 3 - math.mod(namelen,4) ~ fifo:PopRaw(padlength) ~ print("name",namelen,name,"padlen=",padlength) ~ print(FIFOHexDump(fifo))

Definition at line 1306 of file lua_pseudo_code.cpp.

static mixed net_uoam::UOAM_SendPosUpdate ( mixed...   )  [inline, static]

Definition at line 1308 of file lua_pseudo_code.cpp.

static mixed net_uoam::UOAM_SendChat ( mixed  text  )  [inline, static]

Definition at line 1310 of file lua_pseudo_code.cpp.

static mixed net_uoam::UOAM_Short2ByteArray ( mixed  value  )  [inline, static]

todo : fifo misuse for endian conversion is suboptimal, but was quick to implement correctly

Definition at line 1313 of file lua_pseudo_code.cpp.

static mixed net_uoam::UOAM_Long2ByteArray ( mixed  value  )  [inline, static]

todo : fifo misuse for endian conversion is suboptimal, but was quick to implement correctly

Definition at line 1316 of file lua_pseudo_code.cpp.

static mixed net_uoam::UOAM_PushHandshake ( mixed  fifo  )  [inline, static]

Definition at line 1318 of file lua_pseudo_code.cpp.

static mixed net_uoam::UOAM_PushPosUpdate ( mixed  fifo,
mixed  uname,
mixed  upass,
mixed  i22,
mixed  facet,
mixed  x,
mixed  y 
) [inline, static]

handles sequence increment automatically

Definition at line 1321 of file lua_pseudo_code.cpp.

static mixed net_uoam::UOAM_PushChatPoll ( mixed  fifo,
mixed  uname,
mixed  upass 
) [inline, static]

Definition at line 1323 of file lua_pseudo_code.cpp.

static mixed net_uoam::UOAM_PushChatInit ( mixed  fifo,
mixed  uname,
mixed  upass 
) [inline, static]

font and color or so for chat...

Definition at line 1326 of file lua_pseudo_code.cpp.

static mixed net_uoam::UOAM_PushChat ( mixed  fifo,
mixed  uname,
mixed  upass,
mixed  text 
) [inline, static]

Definition at line 1328 of file lua_pseudo_code.cpp.

static mixed net_uoam::UOAM_ArrayStartsWith ( mixed  arr1,
mixed  arr2,
mixed  arr2first 
) [inline, static]

Definition at line 1330 of file lua_pseudo_code.cpp.

static mixed net_uoam::MyChunk ( mixed  name,
mixed  bytes 
) [inline, static]

Definition at line 1332 of file lua_pseudo_code.cpp.


The documentation for this class was generated from the following file:

Generated on Fri Mar 29 05:41:10 2013 for lua by  doxygen 1.5.6