コード例 #1
0
 public ClientMonsterSpawnRequestEventArgs(MonsterSpawnRequestInfo i)
 {
     info = i;
 }
コード例 #2
0
        public static MonsterSpawnRequestInfo RecvMonsterSpawnRequest(Packet p)
        {
            p.Skip(2);
            int monsterId = p.ReadInt();
            int mapId = p.ReadInt();

            MonsterSpawnRequestInfo i = new MonsterSpawnRequestInfo
            {
                MonsterId = monsterId,
                MapId = mapId
            };

            return i;
        }