Exemplo n.º 1
0
        public Data(string username, Vector3 position, Quaternion rotation, Inventory.Data inventory)
        {
            this.username = username.ToLower();

            this.position = position;
            this.rotation = rotation;

            this.inventory = inventory;
        }
Exemplo n.º 2
0
        public Data(string resourcePath, GameManager.SerializableVector3 position, GameManager.SerializableQuaternion rotation, GameManager.World.Realm realm, Dictionary <string, string> data)
        {
            this.resourcePath = resourcePath;

            this.position = position;
            this.rotation = rotation;

            this.realm = realm;

            this.data = data;
        }
Exemplo n.º 3
0
        public Data(string resourcePath, GameManager.SerializableVector3 position, GameManager.SerializableQuaternion rotation, GameManager.World.Realm realm, params KeyValuePair <string, string>[] data)
        {
            this.resourcePath = resourcePath;

            this.position = position;
            this.rotation = rotation;

            this.realm = realm;

            this.data = new Dictionary <string, string>();
            foreach (KeyValuePair <string, string> pair in data)
            {
                this.data.Add(pair.Key, pair.Value);
            }
        }