c64.xnet: Functions Modinfo Source  

XNET

Muliplayer Netzwerk Modul


Powered by BNETEX , thx2 Vertex
 Inkubus
License:

Functions Summary

TXNETConfigServerDialog  
TXNETHostSendAlive  
XNETCloseSession  
XNETCreateMessage  
XNETCreateObject  
XNETGetByte  
XNETGetDouble  
XNETGetFloat  
XNetGetHostList  
XNETGetInt  
XNETGetMessages  
XNETGetObjects  
XNETGetString  
XNETGetTarget  
XNETHostSession  
XNETJoinSession  
XNETMessageObject  
XNETObjectLocal  
XNETObjectRemote  
XNetRegisterHost  
XNETSendMessage  
XNETSendSecureMessage  
XNETSetByte  
XNETSetDouble  
XNETSetFloat  
XNETSetInt  
XNETSetString  
XNETSetTarget  
XNETUpdateSession  

Functions

Function TXNETConfigServerDialog (ServerURL:String,ScriptPath:String)
InformationConfig URL and a Path to your Hostmanager Script.

Function TXNETHostSendAlive ()
InformationSend to Server that your HOST is alive.

Function XNETCloseSession (Session:TxnetSession)
InformationClose a XNETSession.

Function XNETCreateMessage:TXnetSessionObject (SenderObject:TXnetSessionObject)
InformationCreates a Message Object for the given Sender.

Function XNETCreateObject:TXnetSessionObject (Session:TxnetSession)
InformationCreate a Object for a Session.

Function XNETGetByte:Byte (SessionObject:TXnetSessionObject,SlotID:Int)
InformationGet a Byte Data for Object at SlotID.

Function XNETGetDouble:Double (SessionObject:TXnetSessionObject,SlotID:Int)
InformationGet a Double Data for Object at SlotID.

Function XNETGetFloat:Float (SessionObject:TXnetSessionObject,SlotID:Int)
InformationGet a Float Data for Object at SlotID.

Function XNetGetHostList:TList ()
InformationGet a Hostlist form Server (Config before !!!)

Function XNETGetInt:Int (SessionObject:TXnetSessionObject,SlotID:Int)
InformationGet a Int Data for Object at SlotID.

Function XNETGetMessages:TList (Session:TxnetSession)
InformationGet a Messagelist from Session.

Function XNETGetObjects:TList (Session:TxnetSession)
InformationGet a Objectlist from Session.

Function XNETGetString:String (SessionObject:TXnetSessionObject,SlotID:Int)
InformationGet a String Data for Object at SlotID.

Function XNETGetTarget:Object (SessionObject:TXnetSessionObject)
InformationGet from Object a Target Object.

Function XNETHostSession:TxnetSession (Port:Int)
InformationHost a XNET Session Port.

Function XNETJoinSession:TxnetSession (IP:String,Port:Int)
InformationJoin a Session IP and Port.

Function XNETMessageObject:TXnetSessionObject (MSGObject:TXnetSessionObject)
InformationGet the SenderObject was Send the Message.

Function XNETObjectLocal:Byte (SessionObject:TXnetSessionObject)
InformationTo check is a Object a local Object.

Function XNETObjectRemote:Byte (SessionObject:TXnetSessionObject)
InformationTo check is a Object a Remote Object.

Function XNetRegisterHost:Byte (Session:TxnetSession,INFO:String="XNETV1.02r")
InformationRegister your Session as Host at Server (Config before !!!)

Function XNETSendMessage (MSGObject:TXnetSessionObject,Receiver:TXnetSessionObject=Null)
InformationSend a Message to Receiver, if no Receiver the Message will send to all Sessions.

Function XNETSendSecureMessage (MSGObject:TXnetSessionObject,Receiver:TXnetSessionObject=Null)
InformationSend a Message (like Send Message) to Receiver, with 100% Receive Guarantee.

Function XNETSetByte (SessionObject:TXnetSessionObject,SlotID:Int,data:Byte)
Informationset for Objext a Byte-dataslot with Value.

Function XNETSetDouble (SessionObject:TXnetSessionObject,SlotID:Int,data:Double)
Informationset for Objext a Double-dataslot with Value.

Function XNETSetFloat (SessionObject:TXnetSessionObject,SlotID:Int,data:Float)
Informationset for Objext a Float-dataslot with Value.

Function XNETSetInt (SessionObject:TXnetSessionObject,SlotID:Int,data:Int)
Informationset for Objext a Int-dataslot with Value.

Function XNETSetString (SessionObject:TXnetSessionObject,SlotID:Int,data:String)
Informationset for Objext a String-dataslot with Text.

Function XNETSetTarget (SessionObject:TXnetSessionObject,TargetObject:Object)
InformationSet a Targetobject to a SessionObject.

Function XNETUpdateSession (Session:TxnetSession)
InformationUpdate a Session, call it one times in your Mainloop.

Module Information

Version1.02r
AuthorC64 / Patrick Freßdorf
Additive ModulsBNETEX by Vertex and Inkubus
LicenseYou only need a License if you would sell your Project witch is using XNET
CopyrightAll rights reserved by Moon-Bits
Modservernone