本文整理汇总了C#中Plasma.hsStream.WriteBool方法的典型用法代码示例。如果您正苦于以下问题:C# hsStream.WriteBool方法的具体用法?C# hsStream.WriteBool怎么用?C# hsStream.WriteBool使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Plasma.hsStream
的用法示例。
在下文中一共展示了hsStream.WriteBool方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: Write
public override void Write(hsStream s, hsResMgr mgr)
{
base.Write(s, mgr);
s.WriteBool(fIsInitialState);
s.WriteBool(fPersistOnServer);
s.WriteBool(fIsAvatarState);
}
示例2: Write
public override void Write(hsStream s, hsResMgr mgr)
{
base.Write(s, mgr);
mgr.WriteUoid(s, fObjectHelper);
s.WriteBool(fIsPlayer);
s.WriteBool(fIsLoading);
s.WriteBool(fIsInitialState);
}
示例3: Write
public override void Write(hsStream s, hsResMgr mgr)
{
base.Write(s, mgr);
s.WriteBool(fDeliveryTime.HasValue);
if (fDeliveryTime.HasValue)
plUnifiedTime.Write(s, fDeliveryTime.Value);
}
示例4: Write
public override void Write(hsStream s, hsResMgr mgr)
{
base.Write(s, mgr);
s.WriteBool(fIsPlayer);
mgr.WriteKey(s, fSpawnPoint);
// Cyan is really quite stupid sometimes...
if (fInitialTask == null)
s.WriteBool(false);
else {
s.WriteBool(true);
mgr.WriteCreatable(s, fInitialTask);
}
if (s.Version.IsMystOnline)
s.WriteSafeString(fUserStr);
}
示例5: Write
public override void Write(hsStream s, hsResMgr mgr)
{
base.Write(s, mgr);
s.WriteInt(fInvisLevel);
s.WriteBool(fLeavingAge);
mgr.WriteKey(s, fLinkKey);
s.WriteInt(fEffects);
mgr.WriteKey(s, fLinkAnimKey);
}
示例6: IWrite
protected override void IWrite(hsStream s, hsResMgr mgr)
{
mgr.WriteKey(s, fPicker);
mgr.WriteKey(s, fPicked);
s.WriteBool(fEnabled);
fHitPoint.Write(s);
}
示例7: Write
public override void Write(hsStream s)
{
s.WriteUInt(fTransID);
s.WriteBool(fIsPatcher);
}
示例8: WriteKey
public void WriteKey(hsStream s, plKey key)
{
if (s.Version.IsPlasma20) {
if (key == null) {
s.WriteBool(false);
return;
} else {
s.WriteBool(true);
key.Uoid.Write(s);
}
} else {
if (key == null)
new plUoid().Write(s); // Invalid...
else
key.Uoid.Write(s);
}
}
示例9: Write
public override void Write(hsStream s, hsResMgr mgr)
{
s.WriteShort((short)fFlags);
if (HasAccount)
s.WriteBytes(fAcctUUID.ToByteArray());
if (HasPlayerID)
s.WriteUInt(fPlayerID);
if (HasPlayerName)
s.WriteStdString(fPlayerName);
if (HasCCRLevel)
s.WriteByte(fCCRLevel);
if (HasProtectedLogin)
s.WriteBool(fProtectedLogin);
if (HasBuildType)
s.WriteByte(fBuildType);
if (HasSrcAddr)
s.WriteUInt(fSrcAddr);
if (HasSrcPort)
s.WriteUShort(fSrcPort);
if (HasReserved)
s.WriteUShort(fReserved);
if (HasClientKey)
s.WriteStdString(fClientKey);
}
示例10: Write
public override void Write(hsStream s)
{
s.WriteUInt(fTransID);
s.WriteInt((int)fResult);
s.WriteBool(fNode != null);
if (fNode != null)
fNode.Write(s);
}
示例11: Write
public override void Write(hsStream s)
{
s.WriteUInt(fTransID);
s.WriteBool(fPattern != null);
if (fPattern != null)
fPattern.Write(s);
}