SetSaveTag() public method

public SetSaveTag ( ) : void
return void
Example #1
0
 public void DB_Save()
 {
     GameBase.Network.Internal.ROLEDATA_FRIEND info = new GameBase.Network.Internal.ROLEDATA_FRIEND();
     info.playerid = play.GetBaseAttr().player_id;
     info.SetSaveTag();
     for (int i = 0; i < mList.Count; i++)
     {
         info.list_item.Add(mList[i]);
     }
     DBServer.Instance().GetDBClient().SendData(info.GetBuffer());
 }
Example #2
0
 public void DB_Save()
 {
     GameBase.Network.Internal.ROLEDATA_FRIEND info = new GameBase.Network.Internal.ROLEDATA_FRIEND();
     info.playerid = play.GetBaseAttr().player_id;
     info.SetSaveTag();
     for (int i = 0; i < mList.Count; i++)
     {
         info.list_item.Add(mList[i]);
     }
     DBServer.Instance().GetDBClient().SendData(info.GetBuffer());
 }