Esempio n. 1
0
        public MyObjectBuilder_GlobalChatItem GetObjectBuilder()
        {
            var objectBuilder = new MyObjectBuilder_GlobalChatItem();

            objectBuilder.Text = Text;
            objectBuilder.IdentityIdUniqueNumber = MyEntityIdentifier.GetIdUniqueNumber(IdentityId);
        
            return objectBuilder;
        }
Esempio n. 2
0
 public void Init(MyObjectBuilder_GlobalChatItem chatBuilder)
 {
     Text = chatBuilder.Text;
     IdentityId = MyEntityIdentifier.ConstructId(MyEntityIdentifier.ID_OBJECT_TYPE.IDENTITY, chatBuilder.IdentityIdUniqueNumber);
 }