コード例 #1
0
        public void ExecuteCallbacks(InSim insim, IPacket packet)
        {
            List <IPacketBinding> bindings;

            if (packetBindings.TryGetValue(packet.Type, out bindings))
            {
                for (int i = 0; i < bindings.Count; i++)
                {
                    bindings[i].ExecuteCallback(insim, packet);
                }
            }
        }
コード例 #2
0
 public void ExecuteCallback(InSim insim, IPacket packet)
 {
     callback(insim, packet);
 }