public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(Player); stream.Write(Message); return this; }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(CollectedEntityID); stream.Write(CollectorEntityID); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write((Byte)EntityIDs.Length); stream.Write(EntityIDs, false); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(CrashLogFilename); stream.Write(CrashLogFile); return this; }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(UUID); stream.Write(Username); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream writer) { writer.Write(DestinationId); writer.Write(MonsterData); return this; }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(EntityID); stream.Write(Animation); return(this); }
// -- Debug -- // #endif public SCONClient(ITCPClient clientWrapper, ModuleSCON server) { Stream = new ProtobufStream(clientWrapper); Module = server; AuthorizationStatus = (EncryptionEnabled ? AuthorizationStatus.EncryprionEnabled : 0); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(EntityID); stream.Write(Metadata); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(WindowID); stream.Write(Enchantment); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(AgeOfTheWorld); stream.Write(TimeOfDay); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream writer) { writer.Write(TileSets); writer.Write(Images); return this; }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(Slot); stream.Write(ClickedItem); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(PublicKey); stream.Write(VerificationToken); return this; }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(Target); stream.Write(Mouse); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(Position); stream.Write(ScoreName); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(Reason); stream.Write(Value); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream writer) { writer.Write(PlayerIds); writer.Write(Message); return this; }
public override PluginMessageSubPacket WritePacket(ProtobufStream stream) { stream.Write(Mapping.Count); foreach (var blockID in Mapping) { stream.Write(blockID.Name); stream.Write(blockID.ID); } if (BlockSubstitutions.Any()) { stream.Write(BlockSubstitutions.Count); foreach (var blockSubstitution in BlockSubstitutions) { stream.Write(blockSubstitution); } stream.Write(ItemSubstitutions.Count); foreach (var itemSubstitution in ItemSubstitutions) { stream.Write(itemSubstitution); } } return(this); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(WindowID); stream.Write(SlotData); return(this); }
public override PluginMessageSubPacket WritePacket(ProtobufStream stream) { stream.Write(DimensionID); stream.Write(ProviderID); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(PlayerName); stream.Write(Online); stream.Write(Ping); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream writer) { writer.Write(Message); writer.Write(Type); Battle.ToStream(writer); return this; }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(EntityID); stream.Write(ActionID); stream.Write(JumpBoost); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(Yaw); stream.Write(Pitch); stream.Write(OnGround); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(Flags); stream.Write(FlyingSpeed); stream.Write(WalkingSpeed); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(EntityID); stream.Write(VehicleID); stream.Write(Leash); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(ExperienceBar); stream.Write(Level); stream.Write(TotalExperience); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(ObjectiveName); stream.Write(ObjectiveValue); stream.Write(CreateRemove); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(X); stream.Write(Y); stream.Write(Z); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(Channel); stream.Write((Int16)Data.Length); stream.Write(Data, false); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(Health); stream.Write(Food); stream.Write(FoodSaturation); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(WindowID); stream.Write(Property); stream.Write(Value); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(WindowID); stream.Write(ActionNumber); stream.Write(Accepted); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(ItemName); stream.Write(UpdateRemove); stream.Write(ScoreName); stream.Write(Value); return(this); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(Dimension); stream.Write(Difficulty); stream.Write(GameMode); stream.Write(LevelType); return(this); }
public SCONClient(ITCPClient client, SCONListener sconListener) { Client = client; Stream = new ProtobufStream(Client); _listener = sconListener; AuthorizationStatus = AuthorizationStatus.RemoteClientEnabled; }
public override ProtobufPacket WritePacket(ProtobufStream writer) { writer.Write(Time); writer.Write(Season); writer.Write(Weather); writer.Write(Event); return this; }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write((Int16)SharedSecret.Length); stream.Write(SharedSecret, false); stream.Write((Int16)VerifyToken.Length); stream.Write(VerifyToken, false); return(this); }
public IBattleInfo ToStream(ProtobufStream writer) { writer.Write(Opponent_0); writer.Write(Opponent_1); writer.Write(Opponent_2); writer.Write(Opponent_3); writer.Write(Opponent_4); writer.Write(Opponent_5); return this; }
public override ProtobufPacket WritePacket(ProtobufStream writer) { writer.Write(PlayerId); writer.Write(TrainerSprite); writer.Write(Name); writer.Write(TrainerId); writer.Write(Gender); writer.Write(MonsterTeam); return this; }
// -- Debug -- // #endif public SCONClient(BasicUIViewModel basicUIvm) { BasicUIVM = basicUIvm; BasicUIVM.OnConnect += BasicUIViewModel_OnConnect; BasicUIVM.OnDisconnect += BasicUIViewModel_OnDisconnect; BasicUIVM.TabChanged += BasicUIViewModel_TabChanged; BasicUIVM.OnGetLog += BasicUIViewModel_GetLog; BasicUIVM.OnGetCrashLog += BasicUIViewModel_GetCrashLog; BasicUIVM.OnSaveLog += BasicUIViewModel_SaveLog; BasicUIVM.OnChatStateChanged += BasicUIViewModel_OnChatStateChanged; Client = SocketClient.CreateTCP(); Stream = new ProtobufStream(Client); }
public override ProtobufPacket WritePacket(ProtobufStream stream) { return this; }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write((byte) AuthorizationStatus); return this; }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(PlayerDatabases); return this; }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(Name); return this; }
public override ProtobufPacket WritePacket(ProtobufStream writer) { writer.Write(Info); return this; }
public override ProtobufPacket WritePacket(ProtobufStream stream) { stream.Write(PasswordHash); return this; }
public override ProtobufPacket WritePacket(ProtobufStream writer) { //writer.Write(BattleState); return this; }