• Articles
  • Api Documentation
Show / Hide Table of Contents
  • DDSLoader
    • DDSImage
    • DDSImage.DDSHeader
    • DDSImage.DDSPixelFormat
    • DDSImage.HeaderFlags
    • DDSImage.PixelFormatFlags
    • DDSUnityExtensions
    • FourCC
  • LLBML
    • BallApi
    • CharacterApi
    • GraphicUtils
    • InputApi
    • LLBMLPlugin
    • LoadingInfo
    • LoadingScreen
    • PluginInfos
    • ProgressApi
    • ScreenApi
    • StateApi
  • LLBML.Audio
    • AudioAsset
    • AudioCache
    • AudioInfo
    • AudioUtils
  • LLBML.External
    • IntHelpers
    • Murmur3
  • LLBML.GameEvents
    • GameEvents
    • GameStateEvents
    • LobbyEventArgs
    • LobbyEvents
    • LobbyReadyArgs
    • MenuEvents
    • OnLobbyEnteredHandler
    • OnLobbyReadyHandler
    • OnMainMenuEnteredArgs
    • OnMainMenuEnteredHandler
    • OnMainMenuFirstEnteredHandler
    • OnPlayerJoinArgs
    • OnPlayerJoinHandler
    • OnStateChangeArgs
    • OnStateChangeHandler
    • OnUnlinkFromPlayerArgs
    • OnUnlinkFromPlayerHandler
    • OnUserCharacterPickArgs
    • OnUserCharacterPickHandler
    • OnUserSkinClickArgs
    • OnUserSkinClickHandler
  • LLBML.Graphic
    • Draw
    • Draw.Alignment
  • LLBML.Math
    • BinaryUtils
    • Boundsf
    • Floatf
    • Vector2f
    • Vector2i
  • LLBML.Messages
    • CustomMessage
    • MessageActions
    • MessageApi
    • MessageApi.OnReceiveMessageHandler
    • MessageEventArgs
  • LLBML.Networking
    • Channel
    • EnvelopeApi
    • EnvelopeApi.OnReceiveEnvelopeHandler
    • EnvelopeEventArgs
    • EP2PSend
    • EP2PSend.Enum
    • EP2PSend.Enum_Mapping
    • NetworkApi
    • Transaction
    • TransactionCode
    • TransactionState
  • LLBML.Players
    • Player
    • PlayerStatus
    • PlayerStatus.Enum
    • PlayerStatus.Enum_Mappings
    • Team
    • Team.Enum
    • Team.Enum_Mappings
  • LLBML.Settings
    • GameSettings
  • LLBML.States
    • GameState
    • GameState.Enum
    • GameState.Enum_Mapping
    • GameStates
    • GameStatesGameUtils
    • GameStatesLobbyUtils
    • PlayerLobbyState
  • LLBML.Texture
    • TextureUtils
  • LLBML.UI
    • Dialogs
  • LLBML.Utils
    • ArrayExtension
    • BepInRef
    • ControlledRandom
    • DebugUtils
    • EnumWrapper<T>
    • GenericCache<K, T>
    • GenericUtils
    • Hash<T>
    • IByteable
    • ModDependenciesUtils
    • ModdingFolder
    • PatchUtils
    • StringUtils

Struct FourCC

Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: DDSLoader
Assembly: LLBModdingLib.dll
Syntax
public struct FourCC

Constructors

FourCC(String)

Creates a new instance of FourCC with a string value.

Declaration
public FourCC(string value)
Parameters
Type Name Description
System.String value

String value of FOURCC. Should be not longer than 4 characters, all of them are printable ASCII characters.

Remarks

If the value of value is shorter than 4 characters, it is right-padded with spaces.

FourCC(UInt32)

Creates a new instance of FourCC with an integer value.

Declaration
public FourCC(uint value)
Parameters
Type Name Description
System.UInt32 value

Integer value of FOURCC.

Methods

Equals(Object)

Determines whether this instance is equal to other object.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
Overrides
System.ValueType.Equals(System.Object)

GetHashCode()

Gets hash code of this instance.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.ValueType.GetHashCode()

ToString()

Returns string representation of this instance.

Declaration
public override string ToString()
Returns
Type Description
System.String

String value if all bytes are printable ASCII characters. Otherwise, the hexadecimal representation of integer value.

Overrides
System.ValueType.ToString()

Operators

Equality(FourCC, FourCC)

Determines whether two instances of FourCC are equal.

Declaration
public static bool operator ==(FourCC value1, FourCC value2)
Parameters
Type Name Description
FourCC value1
FourCC value2
Returns
Type Description
System.Boolean

Explicit(FourCC to String)

Gets the string value of FourCC instance.

Declaration
public static explicit operator string (FourCC value)
Parameters
Type Name Description
FourCC value
Returns
Type Description
System.String

Explicit(FourCC to UInt32)

Gets the integer value of FourCC instance.

Declaration
public static explicit operator uint (FourCC value)
Parameters
Type Name Description
FourCC value
Returns
Type Description
System.UInt32

Implicit(String to FourCC)

Converts a string value to FourCC.

Declaration
public static implicit operator FourCC(string value)
Parameters
Type Name Description
System.String value
Returns
Type Description
FourCC

Implicit(UInt32 to FourCC)

Converts an integer value to FourCC.

Declaration
public static implicit operator FourCC(uint value)
Parameters
Type Name Description
System.UInt32 value
Returns
Type Description
FourCC

Inequality(FourCC, FourCC)

Determines whether two instances of FourCC are not equal.

Declaration
public static bool operator !=(FourCC value1, FourCC value2)
Parameters
Type Name Description
FourCC value1
FourCC value2
Returns
Type Description
System.Boolean
In This Article
Back to top Generated by DocFX