CreateCard() public méthode

public CreateCard ( int id, System.Guid type, string size, int group ) : void
id int
type System.Guid
size string
group int
Résultat void
Exemple #1
0
        public void CreateCard(int[] id, Guid[] type, string[] size, int @group)
        {
            short s = State.Instance.GetPlayer(_sender).Id;

            for (int i = 0; i < id.Length; i++)
            {
                id[i] = s << 16 | (id[i] & 0xffff);
            }
            _broadcaster.CreateCard(id, type, size, group);
        }
Exemple #2
0
        public void CreateCard(int[] id, ulong[] type, int group)
        {
            short s = _clients[_sender].Id;

            for (int i = 0; i < id.Length; i++)
            {
                id[i] = s << 16 | (id[i] & 0xffff);
            }
            _broadcaster.CreateCard(id, type, group);
        }