Inheritance: Model.Component
コード例 #1
0
ファイル: Session.cs プロジェクト: xubingyue/Egametang
 public Session(NetworkComponent network, AChannel channel, IMessagePacker messagePacker)
 {
     this.network       = network;
     this.channel       = channel;
     this.messagePacker = messagePacker;
     this.StartRecv();
 }
コード例 #2
0
 public void Awake(NetworkComponent net, AChannel c)
 {
     this.channel = c;
     this.requestCallback.Clear();
 }
コード例 #3
0
 public void Awake(NetworkComponent network, AChannel channel)
 {
     this.Get().Awake(network, channel);
 }
コード例 #4
0
ファイル: Session.cs プロジェクト: tsxy2007/Egametang
 public Session(NetworkComponent network, AChannel channel)
 {
     this.network = network;
     this.channel = channel;
     this.StartRecv();
 }
コード例 #5
0
ファイル: Session.cs プロジェクト: xiaozhehlq/Egametang
 public Session(NetworkComponent network, AChannel channel) : base(EntityType.Session)
 {
     this.network = network;
     this.channel = channel;
     this.StartRecv();
 }
コード例 #6
0
        public void Update()
        {
            NetworkComponent component = this.GetValue();

            component.Update();
        }